package com.yunpeng.aidevice.dao.model.entity;

import com.yunpeng.aidevice.dao.model.BaseEntityDO;

import java.time.LocalDateTime;

/**
 * <p>
 * 商户
 * </p>
 *
 * @author hemw
 * @since 2020-04-26
 */
public class MerchantDO extends BaseEntityDO {

    private static final long serialVersionUID = 1L;

    /**
     * 商户负责人
     */
    private String merchantUser;

    /**
     * 商户负责人手机
     */
    private String merchantUserPhone;

    /**
     * 负责人邮箱
     */
    private String merchantUserEmail;

    /**
     * 商户地址
     */
    private String merchantAddress;

    /**
     * 状态码
     */
    private String state;

    /**
     * 失效时间
     */
    private LocalDateTime invalidDate;

    /**
     * 商户图片
     */
    private String merchantImages;

    /**
     * 设备开始更新时间
     */
    private Short deviceUpdateStartTime;

    /**
     * 设备结束更新时间
     */
    private Short deviceUpdateEndTime;

    public String getMerchantUser() {
        return merchantUser;
    }

    public void setMerchantUser(String merchantUser) {
        this.merchantUser = merchantUser;
    }

    public String getMerchantUserPhone() {
        return merchantUserPhone;
    }

    public void setMerchantUserPhone(String merchantUserPhone) {
        this.merchantUserPhone = merchantUserPhone;
    }

    public String getMerchantUserEmail() {
        return merchantUserEmail;
    }

    public void setMerchantUserEmail(String merchantUserEmail) {
        this.merchantUserEmail = merchantUserEmail;
    }

    public String getMerchantAddress() {
        return merchantAddress;
    }

    public void setMerchantAddress(String merchantAddress) {
        this.merchantAddress = merchantAddress;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public LocalDateTime getInvalidDate() {
        return invalidDate;
    }

    public void setInvalidDate(LocalDateTime invalidDate) {
        this.invalidDate = invalidDate;
    }

    public String getMerchantImages() {
        return merchantImages;
    }

    public void setMerchantImages(String merchantImages) {
        this.merchantImages = merchantImages;
    }

    public Short getDeviceUpdateStartTime() {
        return deviceUpdateStartTime;
    }

    public void setDeviceUpdateStartTime(Short deviceUpdateStartTime) {
        this.deviceUpdateStartTime = deviceUpdateStartTime;
    }

    public Short getDeviceUpdateEndTime() {
        return deviceUpdateEndTime;
    }

    public void setDeviceUpdateEndTime(Short deviceUpdateEndTime) {
        this.deviceUpdateEndTime = deviceUpdateEndTime;
    }

    @Override
    public String toString() {
        return "MerchantDO{" +
                "id=" + id +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updater=" + updater +
                ", updateTime=" + updateTime +
                ", flag=" + flag +
                ", name=" + name +
                ", code=" + code +
                ", number=" + number +
                ", tenantCode=" + tenantCode +
                ", merchantUser=" + merchantUser +
                ", merchantUserPhone=" + merchantUserPhone +
                ", merchantUserEmail=" + merchantUserEmail +
                ", merchantAddress=" + merchantAddress +
                ", state=" + state +
                ", invalidDate=" + invalidDate +
                ", merchantImages=" + merchantImages +
                ", deviceUpdateStartTime=" + deviceUpdateStartTime +
                ", deviceUpdateEndTime=" + deviceUpdateEndTime +
                "}";
    }
}
